package com.ycg.store.service;

import com.ycg.store.common.Result;
import com.ycg.store.pojo.Good;
import com.baomidou.mybatisplus.extension.service.IService;

import java.util.List;

/**
* @author lenovo
* @description 针对表【good(货品表)】的数据库操作Service
* @createDate 2024-05-24 20:04:33
*/
public interface GoodService extends IService<Good> {

    /**
     * 根据租户id获取货品
     *
     * @param id 租户id
     * @return List<good>
     */
    Result<List<Good>> getByTenantId(String id);
}
